package com.ruoyi.property.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.property.mapper.ReturnPayFeeManageInfoMapper;
import com.ruoyi.property.domain.ReturnPayFeeManageInfo;
import com.ruoyi.property.service.IReturnPayFeeManageInfoService;
import com.ruoyi.common.core.text.Convert;

/**
 * 退费审核Service业务层处理
 * 
 * @author sux
 * @date 2021-06-30
 */
@Service
public class ReturnPayFeeManageInfoServiceImpl implements IReturnPayFeeManageInfoService 
{
    @Autowired
    private ReturnPayFeeManageInfoMapper returnPayFeeManageInfoMapper;

    /**
     * 查询退费审核
     * 
     * @param returnFeeId 退费审核ID
     * @return 退费审核
     */
    @Override
    public ReturnPayFeeManageInfo selectReturnPayFeeManageInfoById(Long returnFeeId)
    {
        return returnPayFeeManageInfoMapper.selectReturnPayFeeManageInfoById(returnFeeId);
    }

    /**
     * 查询退费审核列表
     * 
     * @param returnPayFeeManageInfo 退费审核
     * @return 退费审核
     */
    @Override
    public List<ReturnPayFeeManageInfo> selectReturnPayFeeManageInfoList(ReturnPayFeeManageInfo returnPayFeeManageInfo)
    {
        return returnPayFeeManageInfoMapper.selectReturnPayFeeManageInfoList(returnPayFeeManageInfo);
    }

    /**
     * 新增退费审核
     * 
     * @param returnPayFeeManageInfo 退费审核
     * @return 结果
     */
    @Override
    public int insertReturnPayFeeManageInfo(ReturnPayFeeManageInfo returnPayFeeManageInfo)
    {
        return returnPayFeeManageInfoMapper.insertReturnPayFeeManageInfo(returnPayFeeManageInfo);
    }

    /**
     * 修改退费审核
     * 
     * @param returnPayFeeManageInfo 退费审核
     * @return 结果
     */
    @Override
    public int updateReturnPayFeeManageInfo(ReturnPayFeeManageInfo returnPayFeeManageInfo)
    {
        return returnPayFeeManageInfoMapper.updateReturnPayFeeManageInfo(returnPayFeeManageInfo);
    }

    /**
     * 删除退费审核对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteReturnPayFeeManageInfoByIds(String ids)
    {
        return returnPayFeeManageInfoMapper.deleteReturnPayFeeManageInfoByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除退费审核信息
     * 
     * @param returnFeeId 退费审核ID
     * @return 结果
     */
    @Override
    public int deleteReturnPayFeeManageInfoById(Long returnFeeId)
    {
        return returnPayFeeManageInfoMapper.deleteReturnPayFeeManageInfoById(returnFeeId);
    }
}
